# by liangyaozhan
# cross compile:
# cmake -DCMAKE_TOOLCHAIN_FILE=path/to/file path/to/source
#include (CMakeForceCompiler)
#set(CMAKE_SYSTEM_NAME Generic)
#CMAKE_FORCE_C_COMPILER(arm-none-eabi-gcc GNU)
#CMAKE_FORCE_CXX_COMPILER (arm-none-eabi-g++ GNU)
# 
#set(CMAKE_SYSTEM_PROCESSOR arm)


cmake_minimum_required(VERSION 2.8)



PROJECT(HELLO C)


ADD_SUBDIRECTORY(src)

